Release 10.1A: OpenEdge Development:
Progress 4GL Reference


READ-FILE( ) method

Clears an editor widget, reads the contents of a specified text file into the widget, and sets the widget’s MODIFIED attribute to FALSE.

Return type: LOGICAL

Applies to: EDITOR widget

Syntax
READ-FILE ( filename ) 

filename

A character-string expression of a full or relative pathname of a file.

The READ-FILE( ) method searches the PROPATH to find the file. If the operation is successful, the method returns TRUE.

In Windows, this method interprets a carriage return character followed by a line feed character as a text line terminator. In all other interfaces, this method interprets a carriage return character as a text line terminator.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095